package top.naccl.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @description:上传文件路径配置
 * @package top.naccl.config
 * @who MiaoMiao "Sprout" BI
 * @date 2021-01-29 09:39:07
 */
@Configuration
public class UploadConfig {


    public static String path;

    @Value("${upload.path}")
    public void setPath(String path) {
        UploadConfig.path = path;
    }
}
